package com.yingxin.yx.framework.render.core;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface RenderContent {

    String name();

    Class<?> className();

    int sort() default 0;

    int type() default RenderContentType.TABLE;

    /**
     * 详情展示下拉表头键
     * @return
     */
    String detailsKey() default "";

    /**
     * 详情展示下拉表头值
     * @return
     */
    String detailsValue() default "";

}
